import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

import mavonEditor from 'mavon-editor'
import 'mavon-editor/dist/css/index.css'
Vue.use(mavonEditor)

import axios from 'axios'
// axios.defaults.baseURL = 'http://127.0.0.1:5000/api/'

Vue.prototype.$http = axios
Vue.prototype.markUrl = 'https://sss-1306551685.cos.ap-guangzhou.myqcloud.com/markdonw/'

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')